package admin

import (
	auto "beergo/app/check/auto/controller"
	"beergo/app/check/conf"
	"github.com/beego/beego/v2/server/web"
)

type SizeAdminController struct {
	auto.SizeController
}

func init() {
	web.Router(conf.UrlPrefixAdmin + "/Size/:id", 		&SizeAdminController{}, "*:GetAction")
	web.Router(conf.UrlPrefixAdmin + "/Size/info", 		&SizeAdminController{}, "*:InfoAction")
	web.Router(conf.UrlPrefixAdmin + "/Size/scan", 		&SizeAdminController{}, "*:ScanAction")
	web.Router(conf.UrlPrefixAdmin + "/Size/list", 	    &SizeAdminController{}, "*:ListAction")
	web.Router(conf.UrlPrefixAdmin + "/Size/update", 	&SizeAdminController{}, "*:UpdateAction")
	web.Router(conf.UrlPrefixAdmin + "/Size/create", 	&SizeAdminController{}, "*:CreateAction")
	web.Router(conf.UrlPrefixAdmin + "/Size/copy", 	    &SizeAdminController{}, "*:CopyAction")
	web.Router(conf.UrlPrefixAdmin + "/Size/edit", 	    &SizeAdminController{}, "*:EditAction")
	web.Router(conf.UrlPrefixAdmin + "/Size/delete", 	&SizeAdminController{}, "*:DeleteAction")
	web.Router(conf.UrlPrefixAdmin + "/Size/:id/:field", &SizeAdminController{}, "*:SonsAction")
	web.Router(conf.UrlPrefixAdmin + "/Size/choice", &SizeAdminController{}, "*:ChoiceAction")
	web.Router(conf.UrlPrefixAdmin + "/Size/category", &SizeAdminController{}, "*:CategoryAction")
}
//func (this *SizeAdminController) Prepare() {}
//func (this *SizeAdminController) ListAction() {}
//func (this *SizeAdminController) GetAction() {}
//func (this *SizeAdminController) InfoAction() {}
//func (this *SizeAdminController) ScanAction() {}
//func (this *SizeAdminController) CreateAction() {}
//func (this *SizeAdminController) UpdateAction() {}
//func (this *SizeAdminController) CopyAction() {}
//func (this *SizeAdminController) DeleteAction() {}
//func (this *SizeAdminController) EditAction() {}
//func (this *SizeAdminController) SonsAction() {}
//func (this *SizeAdminController) ChoiceAction() {}
//func (this *SizeAdminController) CategoryAction() {}
